package Day15.override_one;

public class OverrideExercise {
    public static void main(String[] args) {
        //在主方法里面，Person和Student的对象，调用say方法输出自我介绍
        Person Jack = new Person("jack", 10);
        System.out.println(Jack.say());
        Student smith = new Student("simth", 20, 123456, 99);
        System.out.println(smith.say());
    }
}
